<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>08</title>
  <style>
    #d1{
      width: 200px; height: 200px;
      border: 5px groove red;
      border-radius: 10px 20px 30px 40px;
    }
    #d2{
      width: 100px; height: 100px;
      border: 1px solid red;
      /*给元素添加内边距会影响元的显示宽高*/
      padding-left: 50px;
      padding-top: 50px;
    }
  </style>
</head>
<body>
<div id="d2">内边距</div>
<div id="d1">边框测试</div>
</body>
</html>